import axios from 'axios'
import qs from 'qs'
export function getDoctor(data) {
  console.log(data)
  const url = '/api/searchDoctor'

  return axios.get(url, {
    params: data
  }).then((res) => {
    return Promise.resolve(res)
  })
}
